package com.ssy.lingxi.platform.template.service.constant;


import com.ssy.lingxi.common.language.LanguageHolder;

/**
 * SEO门户类型 - enum
 * @author fhj
 * @date 2021/04/15
 * @version 2.0.0
 */
public enum SeoDoorTypeEnum {

    SHOP(1, "店铺门户"),
    CHANNEL(2, "渠道门户"),
    PURCHASE(3, "采购门户"),
    SELF(4, "自营门户");

    private final Integer code;

    SeoDoorTypeEnum(Integer code, String message) {
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return LanguageHolder.getName(this.getClass(), this.code);
    }
}
